<template>
  <div class="app-container">
    <panel types="primary">
       <template slot="title">查询条件</template>
       <template slot="body">
       </template>
    </panel>

     <el-table  :data="tableData"  style="width: 100%;margin-bottom: 20px;"
        row-key="id"  border default-expand-all :tree-props="{children: 'children', hasChildren: 'hasChildren'}">
        <el-table-column   prop="name"  label="分类名称" ></el-table-column>
        <el-table-column   prop="level"  label="等级"  width="180"></el-table-column>
        <el-table-column   prop="createTime"  label="创建时间"  width="250" ></el-table-column>

      </el-table>



  </div>
</template>

<script>
  import panel from '@/components/Panel/index.vue'
  import courseCategoryService from '@/service/CourseCategoryService.js'

  export default {
    name: 'CourseCategory',
    data() {
      return {
        tableData: []
      }
    },
    components: {
      panel
    },
    methods:{
    },
    created() {
      courseCategoryService.init(this)
      courseCategoryService.loadData()
    }
  }
</script>

<style>
</style>
